export type SwitchValueType = boolean | string | number

export interface SwitchProps {
  modelValue: SwitchValueType;
  activeValue?: SwitchValueType;
  inactiveValue?: SwitchValueType;
  disabled?: boolean;
  activeText?: SwitchValueType;
  inactiveText?: SwitchValueType;
  name?: string;
  id?: string;
  size?: 'small' | 'large'
}

export interface SwitchEmits {
  (e:'change',value:boolean):void;
  (e:'update:modelValue',value:boolean):void;
}
